Skip to content

feat(cli): add clickable changelog link to update prompt - #162

Merged
liruifengv merged 1 commit into
mainfrom
add-changelog
May 28, 2026
Merged

feat(cli): add clickable changelog link to update prompt#162
liruifengv merged 1 commit into
mainfrom
add-changelog

Conversation

@liruifengv

Copy link
Copy Markdown
Collaborator

Related Issue

N/A — this is a small UX improvement that does not require prior discussion.

Problem

When Kimi Code detects a newer version, the update prompt shows version numbers and an install command, but gives users no way to see what changed in the new release before deciding whether to upgrade.

What changed

  • Added a CHANGELOG_URL constant pointing to the release notes page.
  • In renderInstallPrompt, rendered the URL as an OSC 8 terminal hyperlink with the visible text View changelog: <URL>, styled with the primary theme color and underline.
  • Added a unit test to verify the prompt output contains both the changelog URL and the "View changelog" label.

Checklist

  • I have read the CONTRIBUTING document.
  • I have linked a related issue, or explained the problem above.
  • I have added tests that prove my feature works.
  • Ran gen-changesets skill, or this PR needs no changeset.
  • Ran gen-docs skill, or this PR needs no doc update.

@changeset-bot

changeset-bot Bot commented May 28, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: d8b8e58

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@moonshot-ai/kimi-code Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented May 28, 2026

Copy link
Copy Markdown
pnpm dlx https://pkg.pr.new/@moonshot-ai/kimi-code@d8b8e58
npx https://pkg.pr.new/@moonshot-ai/kimi-code@d8b8e58

commit: d8b8e58

Render a clickable OSC 8 hyperlink pointing to the release notes page
in the update available prompt, so users can easily review changes
before deciding to install.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 22f51f5589

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread apps/kimi-code/src/cli/update/prompt.ts
@liruifengv
liruifengv merged commit f3c1015 into main May 28, 2026
6 checks passed
@liruifengv
liruifengv deleted the add-changelog branch May 28, 2026 12:02
@github-actions github-actions Bot mentioned this pull request May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant